package com.bfsd.tieba.agent.tieba_agent.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "tieba")
@Data
public class TiebaConfig {

    private String cookie;
    private Urls urls;

    @Data
    public static class Urls {
        //获取帖子
        private String postUrl;
        //获取帖子回复
        private String replyUrl;
        //回复帖子
        private String replyPostUrl;
        //获取楼层回复
        private String floorPostUrl;
        //发帖
        private String threadAddUrl;
        //获取回复了我的回复
        private String replyMeUrl;
        //获取tbs参数
        private String tbsTokenUrl;
        //获取fid参数
        private String fidUrl;
    }
}